﻿using System;

namespace DomainModel
{
    public class Lesson : EntityBase
    {
        public virtual DateTime Date { get; set; }
        public virtual User Student { get; set; }
        public virtual Timetable Timetable { get; set; }
        public virtual WorkType WorkType { get; set; }
        public virtual Mark Mark { get; set; }

        protected Lesson()
        {

        }

        public Lesson(DateTime date, User student, Timetable timetable)
            : this()
        {
            Date = date;
            Student = student;
            Timetable = timetable;
        }
    }
}
